Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Automation] Bump Golang version to 1.19.12 #36233

Closed
wants to merge 117 commits into from

Conversation

cmacknz
Copy link
Member

@cmacknz cmacknz commented Aug 3, 2023

[Automation] Bump Golang version to 1.19.12

Generated automatically with manual CLI

Report

Source:
	✔ [gomod] Get version in go.mod format(shell)
	✔ [latestGoVersion] Get Latest Go Release(githubrelease)
	✔ [minor] Get minor version in .go-version(shell)


Condition:
	✔ [dockerTag] Is docker image golang:1.19.12 published(dockerimage)
	✔ [goDefaultVersion-check] Check if defined golang version differs(shell)

Target:
	⚠ [update-dockerfiles] Update from dockerfiles(file)
	⚠ [update-go-version] Update .go-version(file)
	⚠ [update-golang.ci] Update .golangci.yml(file)
	⚠ [update-gomod] Update go.mod(file)
	⚠ [update-version.asciidoc] Update version.asciidoc(file)

Changelog

Click to expand

Release published on the 2023-08-03 20:55:43 +0000 UTC at the url https://github.com/elastic/golang-crossbuild/releases/tag/v1.19.12

## Go 1.19.12

- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-arm` - linux/arm64
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-arm-debian9` - linux/armv5, linux/armv6
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-arm-debian10` - linux/armv5, linux/armv6
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-arm-debian11` - linux/armv5, linux/armv6
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-arm-debian12` - linux/armv5, linux/armv6
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-armel` - linux/armv5, linux/armv6
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-armel-debian9` - linux/armv5, linux/armv6
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-armel-debian11` - linux/armv5, linux/armv6
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-armel-debian12` - linux/armv5, linux/armv6
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-armhf` - linux/armv7
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-armhf-debian9` - linux/armv7
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-armhf-debian10` - linux/armv7
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-armhf-debian11` - linux/armv7
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-armhf-debian12` - linux/armv7
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-base`
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-darwin` - darwin/amd64 (MacOS 10.11, MacOS 10.14)
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-main` - linux/i386, linux/amd64, windows/amd64
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-main-debian7` - linux/i386, linux/amd64, windows/amd64
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-main-debian8` - linux/i386, linux/amd64, windows/amd64
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-main-debian9` - linux/i386, linux/amd64, windows/amd64
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-main-debian10` - linux/i386, linux/amd64, windows/amd64
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-main-debian11` - linux/i386, linux/amd64, windows/amd64
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-main-debian12` - linux/i386, linux/amd64, windows/amd64
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-mips-debian11` - linux/mips64, linux/mips64el
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-mips-debian12` - linux/mips64, linux/mips64el
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-ppc-debian11` - linux/ppc64, linux/ppc64le
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-ppc-debian12` - linux/ppc64, linux/ppc64le
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-s390x-debian11` - linux/s390x
- `docker.elastic.co/beats-dev/golang-crossbuild:1.19.12-s390x-debian12` - linux/s390x

### Changes

- [Automation] Bump Golang version to 1.19.12 @apmmachine (#309)

**Full Changelog**: https://github.com/elastic/golang-crossbuild/compare/v1.20.7...v1.19.12



Remark

This pull request was automatically created using Updatecli.

Please report any issues with this tool here

apmmachine and others added 30 commits June 17, 2023 20:07
... s/version.asciidoc"

Made with ❤️️ by updatecli
... /Dockerfile"

Updated to content "FROM golang:1.19.10" in file "./packetbeat/Dockerfile"

Updated to content "FROM golang:1.19.10" in file "./x-pack/functionbeat/Dockerfile"

Updated to content "FROM golang:1.19.10" in file "./auditbeat/Dockerfile"

Updated to content "FROM golang:1.19.10" in file "./heartbeat/Dockerfile"

Made with ❤️️ by updatecli
* [Release] update version

* add `allow_older_versions` to test output configuration

Some integration tests connect to ES, however not all of them had the
flag `allow_older_versions` set in the output configuration. There are
a few cases where this becomes an issue, specially when upgrading the
Beats version.

---------

Co-authored-by: Tiago Queiroz <[email protected]>
* [Release] update test environment

* Update docker-compose.yml

* Update docker-compose.yml

* Update latest.yml

* Update docker-compose.yml

---------

Co-authored-by: Pierre HILBERT <[email protected]>
Fixes #35646 by only unpacking project monitors once.

This fixes the ever growing temp folder issue and is more efficient to boot. Previously we would call fetch on a monitor source every time it was run, but only cleanup the fetched resource once, when the monitor was unloaded. We now fetch once and cleanup once.

This project also fixes the very confusing issue of two files browser/project.go and browser/source/project.go, we have renamed browser/project.go to browser/sourcejob.go which makes reasoning about this change simpler.
* removing obsolete package from metricbeat

* 6

* 6

* 6

* 6

* 6

* 6

* 6

* 6

* removing log line
* dev flag blocklist

* [Heartbeat] Filter synthetics dev flags if Ui monitor

* Add changelog

* Fix unit tests

* Add missing flags
…st (#35892)

The cursor_seek_fallback option was missing from the documentation. And there was no
test associated with the seek mode so I added it.

Through the test I discovered that the documented behavior of the tail seek mode was
wrong so I corrected the docs.
…led (#35658)

* filebeat/input/filestream - Fix registry cleaner log message

This fixes two issues. (1) The wrong printf formatting was used. (2) The error was being
logged on every shutdown.

    "Registrar stopped"
    "failed to start the registry cleaning routine: %!w(*errors.errorString=&{context canceled})"

* Prevent error on normal input shutdown

Filebeat was logging that the input failed, but the stop was triggered by a normal context cancellation.

    "Input 'tcp' failed with: context canceled"
    "Input 'tcp' stopped (runner)"
    "Crawler stopped"
    "Stopping filebeat"
…server closure (#35903)

Previously the server address registry was not updated when the server was cancelled,
leaving invalid state in the registry and preventing reconfiguration of servers.
Ensure that the server address entry is deleted from the pool when the server is
cancelled.

In addition the pool lock was not being released in the case of a failed
TLS consistency check. The change here without fixing that resulted in a
deadlock. This is also fixed.
…35835 (#35886)

This commit implements integration tests for filestream metrics.

It also moves the "integration test framework" from `x-pack/filebeat`
to `libbeat` and implements some improvements on it.
We have update CLI that takes care of Docker image updates. In order
to cover all the images we need to make them consistent first.

If we keep these images at older versions, we'll be constantly
receiving CVE notifications, so it's easier to automate these updates
even though these images are internal and are never released to the public.
So, we can avoid vulnerability reports from Snyk for the outdated images.
Due to some differences between main and 7.17 we need this second job
to account for it and have better automation.
…35915)

This replaces the conversion to a structpb.Struct-serialisation-deserialisation
path that was being used to a direct conversion to a structpb.Struct type which
can then be used to obtain a map[string]any directly.

Using the test suite as a set of benchmarks shows good performance improvements
almost across the board, with no regression. See #35139 for details
of the benchmarks. Note that the benchmark results shown here are at that commit
or that commit plus the change here. No substantive change has been made to the
package to invalidate the comparison.

goos: darwin
goarch: amd64
pkg: github.com/elastic/beats/v7/x-pack/filebeat/input/cel
cpu: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
                                                                        │   cel.bench   │             cel-new.bench             │
                                                                        │    sec/op     │    sec/op      vs base                │
Input/hello_world-16                                                       54.08µ ±  2%   37.92µ ±   3%  -29.88% (p=0.000 n=10)
Input/bad_events_type-16                                                   51.45µ ±  3%   37.13µ ±   2%  -27.84% (p=0.000 n=10)
Input/hello_world_non_nil_state-16                                         53.21µ ±  1%   37.11µ ±   3%  -30.27% (p=0.000 n=10)
Input/what_is_next-16                                                      62.86µ ± 14%   38.48µ ±   3%  -38.79% (p=0.000 n=10)
Input/bad_cursor_type-16                                                   59.79µ ±  1%   40.40µ ±   3%  -32.42% (p=0.000 n=10)
Input/show_state-16                                                        53.69µ ±  3%   38.87µ ±   3%  -27.60% (p=0.000 n=10)
Input/show_provided_state-16                                               65.13µ ±  3%   43.54µ ±   2%  -33.15% (p=0.000 n=10)
Input/iterative_state-16                                                    2.000 ±  0%    2.001 ±   0%        ~ (p=0.247 n=10)
Input/iterative_state_implicit_initial_cursor-16                            2.001 ±  0%    2.000 ±   0%        ~ (p=0.063 n=10)
Input/iterative_state_provided_stored_cursor-16                             1.001 ±  0%    1.000 ±   0%   -0.09% (p=0.029 n=10)
Input/iterative_state_implicit_initial_cursor_provided_stored_cursor-16     1.001 ±  0%    1.001 ±   0%        ~ (p=0.912 n=10)
Input/strings_split-16                                                     69.23µ ±  3%   48.67µ ±   4%  -29.70% (p=0.000 n=10)
Input/ndjson_log_file_simple-16                                            164.7µ ±  3%   147.1µ ±   3%  -10.70% (p=0.000 n=10)
Input/ndjson_log_file_simple_file_scheme-16                                167.0µ ±  6%   152.4µ ±   6%   -8.77% (p=0.000 n=10)
Input/ndjson_log_file_corrupted-16                                         179.3µ ±  6%   153.2µ ±   5%  -14.58% (p=0.000 n=10)
Input/missing_file-16                                                      67.98µ ±  2%   52.31µ ±   3%  -23.05% (p=0.000 n=10)
Input/decode_xml-16                                                        871.6µ ± 28%   780.2µ ±  25%        ~ (p=0.143 n=10)
Input/GET_request-16                                                       728.8µ ± 73%   690.1µ ±  70%        ~ (p=0.579 n=10)
Input/retry_after_request-16                                               766.5µ ± 58%   623.6µ ± 134%        ~ (p=0.393 n=10)
Input/retry_after_request_time-16                                          1.277m ± 31%   1.044m ±  14%        ~ (p=0.247 n=10)
Input/rate_limit_request_0-16                                              1.143m ± 45%   1.059m ±   6%        ~ (p=0.123 n=10)
Input/rate_limit_request_10-16                                             1.089m ± 35%   1.067m ±   7%        ~ (p=0.631 n=10)
Input/rate_limit_request_10_too_slow-16                                    994.7µ ± 29%   930.8µ ±  36%        ~ (p=0.481 n=10)
Input/retry_failure-16                                                    1184.4µ ± 51%   959.6µ ±  12%        ~ (p=0.143 n=10)
Input/POST_request-16                                                      1.376m ± 39%   1.125m ±  21%        ~ (p=0.393 n=10)
Input/repeated_POST_request-16                                             110.1m ±  4%   117.2m ±   2%   +6.39% (p=0.002 n=10)
Input/split_events-16                                                      877.6µ ± 30%   793.4µ ±  35%        ~ (p=0.631 n=10)
Input/split_events_keep_parent-16                                          1.148m ± 54%   1.048m ±  21%        ~ (p=0.529 n=10)
Input/nested_split_events-16                                               1.124m ±  6%   1.038m ±   7%   -7.68% (p=0.009 n=10)
Input/absent_split-16                                                       4.999 ±  0%    4.999 ±   0%        ~ (p=0.684 n=10)
Input/date_cursor-16                                                        2.002 ±  0%    2.002 ±   0%        ~ (p=0.912 n=10)
Input/tracer_filename_sanitization-16                                       2.002 ±  0%    2.002 ±   0%        ~ (p=0.218 n=10)
Input/pagination_cursor_object-16                                           1.001 ±  0%    1.002 ±   0%   +0.09% (p=0.000 n=10)
Input/pagination_cursor_array-16                                            1.002 ±  0%    1.002 ±   0%   +0.08% (p=0.023 n=10)
Input/first_event_cursor-16                                                 3.002 ±  0%    3.001 ±   0%        ~ (p=0.529 n=10)
Input/OAuth2-16                                                            1.243m ± 28%   1.082m ±  23%        ~ (p=0.165 n=10)
Input/simple_multistep_GET_request-16                                      2.821m ± 57%   2.291m ± 107%        ~ (p=0.529 n=10)
Input/three_step_GET_request-16                                            2.821m ± 23%   2.996m ±  32%        ~ (p=0.853 n=10)
Input/type_error_message-16                                               1463.4µ ± 61%   969.2µ ±  89%        ~ (p=0.280 n=10)
geomean                                                                    3.751m         3.243m         -13.56%

                                                                        │   cel.bench    │             cel-new.bench              │
                                                                        │      B/op      │      B/op       vs base                │
Input/hello_world-16                                                       27.76Ki ±  0%    25.97Ki ±  0%   -6.46% (p=0.000 n=10)
Input/bad_events_type-16                                                   26.01Ki ±  0%    24.74Ki ±  0%   -4.91% (p=0.000 n=10)
Input/hello_world_non_nil_state-16                                         27.47Ki ±  0%    25.67Ki ±  0%   -6.54% (p=0.000 n=10)
Input/what_is_next-16                                                      30.49Ki ±  0%    27.89Ki ±  0%   -8.53% (p=0.000 n=10)
Input/bad_cursor_type-16                                                   28.84Ki ±  0%    26.65Ki ±  0%   -7.58% (p=0.000 n=10)
Input/show_state-16                                                        27.24Ki ±  0%    25.53Ki ±  0%   -6.30% (p=0.000 n=10)
Input/show_provided_state-16                                               28.76Ki ±  0%    26.34Ki ±  0%   -8.41% (p=0.000 n=10)
Input/iterative_state-16                                                   55.05Ki ±  1%    45.29Ki ±  1%  -17.74% (p=0.000 n=10)
Input/iterative_state_implicit_initial_cursor-16                           59.17Ki ±  0%    49.39Ki ±  0%  -16.53% (p=0.000 n=10)
Input/iterative_state_provided_stored_cursor-16                            45.98Ki ±  1%    38.63Ki ±  0%  -15.97% (p=0.000 n=10)
Input/iterative_state_implicit_initial_cursor_provided_stored_cursor-16    49.48Ki ±  1%    42.13Ki ±  0%  -14.86% (p=0.000 n=10)
Input/strings_split-16                                                     33.30Ki ±  0%    30.48Ki ±  0%   -8.46% (p=0.000 n=10)
Input/ndjson_log_file_simple-16                                            36.40Ki ±  0%    33.69Ki ±  0%   -7.45% (p=0.000 n=10)
Input/ndjson_log_file_simple_file_scheme-16                                36.54Ki ±  0%    33.83Ki ±  0%   -7.42% (p=0.000 n=10)
Input/ndjson_log_file_corrupted-16                                         39.92Ki ±  0%    36.24Ki ±  0%   -9.20% (p=0.000 n=10)
Input/missing_file-16                                                      27.92Ki ±  0%    26.10Ki ±  0%   -6.52% (p=0.000 n=10)
Input/decode_xml-16                                                        89.81Ki ±  0%    82.66Ki ±  0%   -7.96% (p=0.000 n=10)
Input/GET_request-16                                                       60.89Ki ±  0%    57.45Ki ±  0%   -5.66% (p=0.000 n=10)
Input/retry_after_request-16                                               59.99Ki ±  0%    56.13Ki ±  0%   -6.43% (p=0.001 n=10)
Input/retry_after_request_time-16                                          60.00Ki ±  0%    56.19Ki ±  0%   -6.35% (p=0.000 n=10)
Input/rate_limit_request_0-16                                              63.69Ki ±  0%    58.42Ki ±  0%   -8.27% (p=0.000 n=10)
Input/rate_limit_request_10-16                                             63.64Ki ±  0%    58.54Ki ±  0%   -8.02% (p=0.000 n=10)
Input/rate_limit_request_10_too_slow-16                                    63.77Ki ±  0%    58.45Ki ±  0%   -8.34% (p=0.001 n=10)
Input/retry_failure-16                                                     60.12Ki ±  0%    56.31Ki ±  0%   -6.34% (p=0.001 n=10)
Input/POST_request-16                                                      64.29Ki ±  0%    60.64Ki ±  0%   -5.67% (p=0.000 n=10)
Input/repeated_POST_request-16                                            103.90Ki ±  2%    97.28Ki ±  3%   -6.37% (p=0.000 n=10)
Input/split_events-16                                                      59.25Ki ±  0%    56.50Ki ±  0%   -4.63% (p=0.000 n=10)
Input/split_events_keep_parent-16                                          64.27Ki ±  0%    60.44Ki ±  0%   -5.96% (p=0.000 n=10)
Input/nested_split_events-16                                               62.33Ki ±  0%    59.42Ki ±  0%   -4.68% (p=0.000 n=10)
Input/absent_split-16                                                      175.5Ki ±  3%    172.8Ki ±  4%        ~ (p=0.089 n=10)
Input/date_cursor-16                                                       134.7Ki ±  6%    136.6Ki ±  7%        ~ (p=0.393 n=10)
Input/tracer_filename_sanitization-16                                      209.5Ki ±  5%    212.0Ki ±  4%        ~ (p=0.684 n=10)
Input/pagination_cursor_object-16                                          99.86Ki ± 12%   100.96Ki ±  8%        ~ (p=0.739 n=10)
Input/pagination_cursor_array-16                                           98.43Ki ± 16%   103.33Ki ± 12%        ~ (p=0.912 n=10)
Input/first_event_cursor-16                                                155.1Ki ± 14%    151.9Ki ± 19%        ~ (p=0.353 n=10)
Input/OAuth2-16                                                            81.98Ki ±  0%    79.54Ki ±  0%   -2.97% (p=0.000 n=10)
Input/simple_multistep_GET_request-16                                      83.07Ki ±  0%    78.70Ki ±  1%   -5.26% (p=0.000 n=10)
Input/three_step_GET_request-16                                            105.3Ki ±  0%    100.7Ki ±  1%   -4.35% (p=0.000 n=10)
Input/type_error_message-16                                                50.86Ki ±  0%    50.24Ki ±  0%   -1.24% (p=0.000 n=10)
geomean                                                                    58.17Ki          54.43Ki         -6.43%

                                                                        │  cel.bench   │            cel-new.bench             │
                                                                        │  allocs/op   │  allocs/op    vs base                │
Input/hello_world-16                                                       204.0 ±  0%    166.0 ±  1%  -18.63% (p=0.000 n=10)
Input/bad_events_type-16                                                   177.0 ±  0%    151.0 ±  0%  -14.69% (p=0.000 n=10)
Input/hello_world_non_nil_state-16                                         202.0 ±  0%    164.0 ±  0%  -18.81% (p=0.000 n=10)
Input/what_is_next-16                                                      261.0 ±  0%    203.0 ±  0%  -22.22% (p=0.000 n=10)
Input/bad_cursor_type-16                                                   235.0 ±  0%    187.0 ±  0%  -20.43% (p=0.000 n=10)
Input/show_state-16                                                        199.0 ±  0%    164.0 ±  0%  -17.59% (p=0.000 n=10)
Input/show_provided_state-16                                               269.0 ±  0%    204.0 ±  0%  -24.16% (p=0.000 n=10)
Input/iterative_state-16                                                   702.0 ±  1%    485.0 ±  1%  -30.91% (p=0.000 n=10)
Input/iterative_state_implicit_initial_cursor-16                           766.0 ±  0%    549.0 ±  0%  -28.33% (p=0.000 n=10)
Input/iterative_state_provided_stored_cursor-16                            507.5 ±  1%    361.0 ±  1%  -28.87% (p=0.000 n=10)
Input/iterative_state_implicit_initial_cursor_provided_stored_cursor-16    553.0 ±  1%    406.0 ±  1%  -26.58% (p=0.000 n=10)
Input/strings_split-16                                                     306.0 ±  0%    243.0 ±  0%  -20.59% (p=0.000 n=10)
Input/ndjson_log_file_simple-16                                            319.0 ±  0%    254.0 ±  0%  -20.38% (p=0.000 n=10)
Input/ndjson_log_file_simple_file_scheme-16                                319.0 ±  0%    254.0 ±  0%  -20.38% (p=0.000 n=10)
Input/ndjson_log_file_corrupted-16                                         373.0 ±  0%    294.0 ±  0%  -21.18% (p=0.000 n=10)
Input/missing_file-16                                                      204.0 ±  0%    168.0 ±  0%  -17.65% (p=0.000 n=10)
Input/decode_xml-16                                                        903.0 ±  0%    749.0 ±  0%  -17.05% (p=0.000 n=10)
Input/GET_request-16                                                       540.0 ±  0%    467.0 ±  0%  -13.52% (p=0.000 n=10)
Input/retry_after_request-16                                               570.0 ±  0%    479.0 ±  0%  -15.96% (p=0.000 n=10)
Input/retry_after_request_time-16                                          570.0 ±  0%    479.0 ±  0%  -15.96% (p=0.000 n=10)
Input/rate_limit_request_0-16                                              623.0 ±  0%    511.0 ±  0%  -17.98% (p=0.000 n=10)
Input/rate_limit_request_10-16                                             623.0 ±  0%    512.0 ±  0%  -17.82% (p=0.000 n=10)
Input/rate_limit_request_10_too_slow-16                                    623.0 ±  0%    512.0 ±  0%  -17.82% (p=0.000 n=10)
Input/retry_failure-16                                                     571.0 ±  0%    479.0 ±  0%  -16.11% (p=0.000 n=10)
Input/POST_request-16                                                      579.0 ±  0%    497.0 ±  0%  -14.16% (p=0.000 n=10)
Input/repeated_POST_request-16                                            1045.5 ±  1%    879.5 ±  0%  -15.88% (p=0.000 n=10)
Input/split_events-16                                                      504.0 ±  0%    442.0 ±  0%  -12.30% (p=0.000 n=10)
Input/split_events_keep_parent-16                                          581.0 ±  0%    500.0 ±  0%  -13.94% (p=0.000 n=10)
Input/nested_split_events-16                                               559.0 ±  0%    498.0 ±  0%  -10.91% (p=0.000 n=10)
Input/absent_split-16                                                     1.625k ±  1%   1.448k ±  1%  -10.92% (p=0.000 n=10)
Input/date_cursor-16                                                      1.353k ±  1%   1.358k ±  1%        ~ (p=0.566 n=10)
Input/tracer_filename_sanitization-16                                     1.697k ±  1%   1.690k ±  1%        ~ (p=0.566 n=10)
Input/pagination_cursor_object-16                                          869.0 ± 44%    874.5 ± 30%        ~ (p=0.493 n=10)
Input/pagination_cursor_array-16                                           870.5 ± 50%    869.5 ± 37%        ~ (p=1.000 n=10)
Input/first_event_cursor-16                                               1.603k ±  1%   1.596k ±  2%        ~ (p=0.541 n=10)
Input/OAuth2-16                                                            658.5 ±  0%    621.0 ±  0%   -5.69% (p=0.000 n=10)
Input/simple_multistep_GET_request-16                                      740.0 ±  0%    665.0 ±  0%  -10.14% (p=0.000 n=10)
Input/three_step_GET_request-16                                            939.0 ±  0%    864.0 ±  0%   -7.99% (p=0.000 n=10)
Input/type_error_message-16                                                342.0 ±  0%    341.0 ±  0%   -0.29% (p=0.000 n=10)
geomean                                                                    526.0          444.9        -15.42%
* docs: Close changelog for 8.8.2

* Update CHANGELOG.asciidoc

* Update CHANGELOG.asciidoc

Co-authored-by: Craig MacKenzie <[email protected]>

* Update CHANGELOG.asciidoc

* Update CHANGELOG.asciidoc

Co-authored-by: David Kilfoyle <[email protected]>

* Update CHANGELOG.asciidoc

Co-authored-by: David Kilfoyle <[email protected]>

* Update CHANGELOG.asciidoc

Co-authored-by: David Kilfoyle <[email protected]>

* Update CHANGELOG.asciidoc

Co-authored-by: David Kilfoyle <[email protected]>

* Update CHANGELOG.asciidoc

Co-authored-by: David Kilfoyle <[email protected]>

* Update CHANGELOG.asciidoc

Co-authored-by: David Kilfoyle <[email protected]>

---------

Co-authored-by: Pierre HILBERT <[email protected]>
Co-authored-by: Craig MacKenzie <[email protected]>
Co-authored-by: David Kilfoyle <[email protected]>
(cherry picked from commit 15772de)

Co-authored-by: Elastic Machine <[email protected]>
Remove a NOTE section telling the `cloud.id` does not explicitly specify a port because it does specify a port nowadays.
…ok (#35798)

Register an elastic-agent diagnostics hook to return the input metrics (encoded to JSON)
in agent diagnostic dumps.
- If a duplicate ID was used for filestream, set the ID for metrics
to an empty string to prevent a panic.
- A valid metrics instance will still be generated, but collection of
metrics will not occur.
…35829)

* chore: Updated to content "" in file "testing/environments/snapshot.yml"

Made with ❤️️ by updatecli

* chore: Updated to content "" in file "testing/environments/snapshot.yml"

Made with ❤️️ by updatecli

* chore: Updated to content "" in file "testing/environments/snapshot.yml"

Made with ❤️️ by updatecli

* chore: Updated to content "" in file "testing/environments/snapshot.yml"

Made with ❤️️ by updatecli

* chore: Updated to content "" in file "testing/environments/snapshot.yml"

Made with ❤️️ by updatecli

* chore: Updated to content "" in file "testing/environments/snapshot.yml"

Made with ❤️️ by updatecli

* chore: Updated to content "" in file "testing/environments/snapshot.yml"

Made with ❤️️ by updatecli

* chore: Updated to content "" in file "testing/environments/snapshot.yml"

Made with ❤️️ by updatecli

---------

Co-authored-by: apmmachine <[email protected]>
@cmacknz cmacknz added the backport-skip Skip notification from the automated backport with mergify label Aug 3, 2023
@mergify mergify bot assigned cmacknz Aug 3, 2023
@mergify
Copy link
Contributor

mergify bot commented Aug 3, 2023

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b updatecli_bump-golang-version upstream/updatecli_bump-golang-version
git merge upstream/main
git push upstream updatecli_bump-golang-version

@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Aug 3, 2023
@elasticmachine
Copy link
Collaborator

elasticmachine commented Aug 3, 2023

❕ Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Start Time: 2023-08-04T14:41:49.640+0000

  • Duration: 6 min 40 sec

Steps errors 1

Expand to view the steps failures

Error signal
  • Took 0 min 0 sec . View more details here
  • Description: tar: step failed with error null

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

cmacknz added a commit that referenced this pull request Aug 4, 2023
Use the [dockerfile resource
type](https://www.updatecli.io/docs/plugins/resource/dockerfile/) to
ensure we can parse and update Dockerfiles that use multistage builds.

We need to handle FROM golang:x.x.x AS yyyyy in addition to the simple
FROM golang:x.x.x case.

The dockerfile resource type unfortunately doesn't support of list of
files so there is now significantly more duplication, but it works and
will keep working.

I used this configuration to create
#36233 by manually running
updatecli with my changes.
... ll_c5kmq7v40000gn/T/updatecli/github/elastic/beats/.golangci.yml"

Made with ❤️️ by updatecli
... ll_c5kmq7v40000gn/T/updatecli/github/elastic/beats/.go-version"

Made with ❤️️ by updatecli
... ll_c5kmq7v40000gn/T/updatecli/github/elastic/beats/go.mod"

Made with ❤️️ by updatecli
... ll_c5kmq7v40000gn/T/updatecli/github/elastic/beats/auditbeat/Dockerfile"
Updated the content of the file "/var/folders/n3/mrw1c3451wvgcll_c5kmq7v40000gn/T/updatecli/github/elastic/beats/heartbeat/Dockerfile"
Updated the content of the file "/var/folders/n3/mrw1c3451wvgcll_c5kmq7v40000gn/T/updatecli/github/elastic/beats/metricbeat/Dockerfile"
Updated the content of the file "/var/folders/n3/mrw1c3451wvgcll_c5kmq7v40000gn/T/updatecli/github/elastic/beats/packetbeat/Dockerfile"
Updated the content of the file "/var/folders/n3/mrw1c3451wvgcll_c5kmq7v40000gn/T/updatecli/github/elastic/beats/x-pack/functionbeat/Dockerfile"

Made with ❤️️ by updatecli
... ll_c5kmq7v40000gn/T/updatecli/github/elastic/beats/libbeat/docs/version.asciidoc"

Made with ❤️️ by updatecli
@cmacknz cmacknz changed the title [Automation] Bump Golang version to 1.20.7 [Automation] Bump Golang version to 1.19.12 Aug 4, 2023
@cmacknz cmacknz changed the base branch from main to 8.9 August 4, 2023 14:51
@cmacknz cmacknz requested a review from a team as a code owner August 4, 2023 14:51
@cmacknz cmacknz requested a review from a team August 4, 2023 14:51
@cmacknz cmacknz requested review from a team as code owners August 4, 2023 14:51
@cmacknz cmacknz closed this Aug 4, 2023
@cmacknz
Copy link
Member Author

cmacknz commented Aug 4, 2023

Automation targeted the wrong branch, should have targeted 8.9.

@cmacknz cmacknz deleted the updatecli_bump-golang-version branch August 4, 2023 14:51
@elasticmachine
Copy link
Collaborator

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-08-04T14:42:50.879+0000

  • Duration: 63 min 45 sec

Test stats 🧪

Test Results
Failed 8
Passed 20065
Skipped 1627
Total 21700

Test errors 8

Expand to view the tests failures

Build&Test / libbeat-unitTest / TestParseRFC3164/err-ts-invalid-rfc3339 – github.com/elastic/beats/v7/libbeat/reader/syslog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestParseRFC3164/err-ts-invalid-rfc3339
    === PAUSE TestParseRFC3164/err-ts-invalid-rfc3339
    === CONT  TestParseRFC3164/err-ts-invalid-rfc3339
        rfc3164_test.go:181: 
            	Error Trace:	/var/lib/jenkins/workspace/PR-36233-5-924770af-9a66-4e28-b974-d985069fb942/src/github.com/elastic/beats/libbeat/reader/syslog/rfc3164_test.go:181
            	Error:      	Error "validation error at position 5: parsing time \"24-08-2003T05:14:15-07:00\" as \"2006-01-02T15:04:05.999999999Z07:00\": cannot parse \"8-2003T05:14:15-07:00\" as \"2006\"" does not contain "validation error at position 5: parsing time \"24-08-2003T05:14:15-07:00\" as \"2006-01-02T15:04:05.999999999Z07:00\": cannot parse \"24-08-2003T05:14:15-07:00\" as \"2006\""
            	Test:       	TestParseRFC3164/err-ts-invalid-rfc3339
        --- FAIL: TestParseRFC3164/err-ts-invalid-rfc3339 (0.00s)
     
    

Build&Test / libbeat-unitTest / TestParseRFC3164 – github.com/elastic/beats/v7/libbeat/reader/syslog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestParseRFC3164
    --- FAIL: TestParseRFC3164 (0.00s)
     
    

Build&Test / libbeat-unitTest / TestParseRFC5424/err-invalid-timestamp – github.com/elastic/beats/v7/libbeat/reader/syslog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestParseRFC5424/err-invalid-timestamp
    === PAUSE TestParseRFC5424/err-invalid-timestamp
    === CONT  TestParseRFC5424/err-invalid-timestamp
        rfc5424_test.go:182: 
            	Error Trace:	/var/lib/jenkins/workspace/PR-36233-5-924770af-9a66-4e28-b974-d985069fb942/src/github.com/elastic/beats/libbeat/reader/syslog/rfc5424_test.go:182
            	Error:      	Error "validation error at position 8: parsing time \"10-11-2003T22:14:15.003Z\" as \"2006-01-02T15:04:05.999999999Z07:00\": cannot parse \"1-2003T22:14:15.003Z\" as \"2006\"" does not contain "validation error at position 8: parsing time \"10-11-2003T22:14:15.003Z\" as \"2006-01-02T15:04:05.999999999Z07:00\": cannot parse \"10-11-2003T22:14:15.003Z\" as \"2006\""
            	Test:       	TestParseRFC5424/err-invalid-timestamp
        --- FAIL: TestParseRFC5424/err-invalid-timestamp (0.00s)
     
    

Build&Test / libbeat-unitTest / TestParseRFC5424 – github.com/elastic/beats/v7/libbeat/reader/syslog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestParseRFC5424
    --- FAIL: TestParseRFC5424 (0.00s)
     
    

Build&Test / libbeat-goIntegTest / TestParseRFC3164/err-ts-invalid-rfc3339 – github.com/elastic/beats/v7/libbeat/reader/syslog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestParseRFC3164/err-ts-invalid-rfc3339
    === PAUSE TestParseRFC3164/err-ts-invalid-rfc3339
    === CONT  TestParseRFC3164/err-ts-invalid-rfc3339
        rfc3164_test.go:181: 
            	Error Trace:	/var/lib/jenkins/workspace/PR-36233-5-88e53839-d710-482f-ba34-357475414a6c/src/github.com/elastic/beats/libbeat/reader/syslog/rfc3164_test.go:181
            	Error:      	Error "validation error at position 5: parsing time \"24-08-2003T05:14:15-07:00\" as \"2006-01-02T15:04:05.999999999Z07:00\": cannot parse \"8-2003T05:14:15-07:00\" as \"2006\"" does not contain "validation error at position 5: parsing time \"24-08-2003T05:14:15-07:00\" as \"2006-01-02T15:04:05.999999999Z07:00\": cannot parse \"24-08-2003T05:14:15-07:00\" as \"2006\""
            	Test:       	TestParseRFC3164/err-ts-invalid-rfc3339
        --- FAIL: TestParseRFC3164/err-ts-invalid-rfc3339 (0.00s)
     
    

Build&Test / libbeat-goIntegTest / TestParseRFC3164 – github.com/elastic/beats/v7/libbeat/reader/syslog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestParseRFC3164
    --- FAIL: TestParseRFC3164 (0.00s)
     
    

Build&Test / libbeat-goIntegTest / TestParseRFC5424/err-invalid-timestamp – github.com/elastic/beats/v7/libbeat/reader/syslog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestParseRFC5424/err-invalid-timestamp
    === PAUSE TestParseRFC5424/err-invalid-timestamp
    === CONT  TestParseRFC5424/err-invalid-timestamp
        rfc5424_test.go:182: 
            	Error Trace:	/var/lib/jenkins/workspace/PR-36233-5-88e53839-d710-482f-ba34-357475414a6c/src/github.com/elastic/beats/libbeat/reader/syslog/rfc5424_test.go:182
            	Error:      	Error "validation error at position 8: parsing time \"10-11-2003T22:14:15.003Z\" as \"2006-01-02T15:04:05.999999999Z07:00\": cannot parse \"1-2003T22:14:15.003Z\" as \"2006\"" does not contain "validation error at position 8: parsing time \"10-11-2003T22:14:15.003Z\" as \"2006-01-02T15:04:05.999999999Z07:00\": cannot parse \"10-11-2003T22:14:15.003Z\" as \"2006\""
            	Test:       	TestParseRFC5424/err-invalid-timestamp
        --- FAIL: TestParseRFC5424/err-invalid-timestamp (0.00s)
     
    

Build&Test / libbeat-goIntegTest / TestParseRFC5424 – github.com/elastic/beats/v7/libbeat/reader/syslog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestParseRFC5424
    --- FAIL: TestParseRFC5424 (0.00s)
     
    

Steps errors 97

Expand to view the steps failures

Show only the first 10 steps failures

x-pack/winlogbeat-build-windows-2019 - mage build unitTest
  • Took 3 min 46 sec . View more details here
  • Description: mage build unitTest
x-pack/winlogbeat-build-windows-2019 - mage build unitTest
  • Took 0 min 22 sec . View more details here
  • Description: mage build unitTest
x-pack/winlogbeat-build-windows-2019 - mage build unitTest
  • Took 0 min 22 sec . View more details here
  • Description: mage build unitTest
x-pack/winlogbeat-windows-2022-windows-2022 - mage build unitTest
  • Took 2 min 25 sec . View more details here
  • Description: mage build unitTest
x-pack/winlogbeat-windows-2022-windows-2022 - mage build unitTest
  • Took 0 min 19 sec . View more details here
  • Description: mage build unitTest
x-pack/winlogbeat-windows-2022-windows-2022 - mage build unitTest
  • Took 0 min 19 sec . View more details here
  • Description: mage build unitTest
x-pack/winlogbeat-windows-2016-windows-2016 - mage build unitTest
  • Took 3 min 41 sec . View more details here
  • Description: mage build unitTest
x-pack/winlogbeat-windows-2016-windows-2016 - mage build unitTest
  • Took 0 min 23 sec . View more details here
  • Description: mage build unitTest
x-pack/winlogbeat-windows-2016-windows-2016 - mage build unitTest
  • Took 0 min 21 sec . View more details here
  • Description: mage build unitTest
Error signal
  • Took 0 min 0 sec . View more details here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Genuine test errors 8

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Build&Test / libbeat-unitTest / TestParseRFC3164/err-ts-invalid-rfc3339 – github.com/elastic/beats/v7/libbeat/reader/syslog
  • Name: Build&Test / libbeat-unitTest / TestParseRFC3164 – github.com/elastic/beats/v7/libbeat/reader/syslog
  • Name: Build&Test / libbeat-unitTest / TestParseRFC5424/err-invalid-timestamp – github.com/elastic/beats/v7/libbeat/reader/syslog
  • Name: Build&Test / libbeat-unitTest / TestParseRFC5424 – github.com/elastic/beats/v7/libbeat/reader/syslog
  • Name: Build&Test / libbeat-goIntegTest / TestParseRFC3164/err-ts-invalid-rfc3339 – github.com/elastic/beats/v7/libbeat/reader/syslog
  • Name: Build&Test / libbeat-goIntegTest / TestParseRFC3164 – github.com/elastic/beats/v7/libbeat/reader/syslog
  • Name: Build&Test / libbeat-goIntegTest / TestParseRFC5424/err-invalid-timestamp – github.com/elastic/beats/v7/libbeat/reader/syslog
  • Name: Build&Test / libbeat-goIntegTest / TestParseRFC5424 – github.com/elastic/beats/v7/libbeat/reader/syslog

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

Scholar-Li pushed a commit to Scholar-Li/beats that referenced this pull request Feb 5, 2024
Use the [dockerfile resource
type](https://www.updatecli.io/docs/plugins/resource/dockerfile/) to
ensure we can parse and update Dockerfiles that use multistage builds.

We need to handle FROM golang:x.x.x AS yyyyy in addition to the simple
FROM golang:x.x.x case.

The dockerfile resource type unfortunately doesn't support of list of
files so there is now significantly more duplication, but it works and
will keep working.

I used this configuration to create
elastic#36233 by manually running
updatecli with my changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-skip Skip notification from the automated backport with mergify Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging this pull request may close these issues.